//
//  HQRecordDetailViewController.m
//  MobileiOS
//
//  Created by 郝庆松 on 2018/5/28.
//  Copyright © 2018年 PCITC. All rights reserved.
//

#import "HQRecordDetailViewController.h"

@interface HQRecordDetailViewController ()

@end

@implementation HQRecordDetailViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    
    self.title = @"订单记录";
    [_webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString: [NSString stringWithFormat:@"%@%@",kShareDomain,self.urlStr]]]];
    NSLog(@"%@%@",kShareDomain,self.urlStr);
}

-(void)webViewDidStartLoad:(UIWebView *)webView{
    [_hud startAnimating];
    _hud.hidden = NO;
}

-(void)webViewDidFinishLoad:(UIWebView *)webView{
    [_hud stopAnimating];
    _hud.hidden = YES;
}

-(void)webView:(UIWebView *)webView didFailLoadWithError:(NSError *)error{
    [_hud stopAnimating];
    _hud.hidden = YES;
}

@end
